package cn.edu.hit.hec;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

import java.io.IOException;

@SpringBootApplication
public class Application {

    public static void main(String[] args) throws IOException, InterruptedException {
        SpringApplication.run(Application.class, args);

    }


}

//@SpringBootApplication
//public class Application implements CommandLineRunner {
//
//	public static void main(String[] args) throws IOException, InterruptedException {
////		SpringApplication.run(Application.class, args);
//		new SpringApplicationBuilder(Application.class)
//				.web(WebApplicationType.NONE)
//				.run(args);
//	}
//
//	@Override
//	public void run(String... args) throws Exception {
//		Thread.sleep(3000);
//		new Thread(()->App2.main(null)).start();
////		System.out.println("aaaa");
//	}
//}